<?php 
/**
 * NOTICE OF LICENSE
 *
 * THIS SOURCE FILE IS PART OF EVEBIT'S PRIVATE PROJECT.
 * 
 * DO NOT USE THIS FILE IN OTHER PLACE.
 *
 * @category    ChinaWanderer
 * @package     Backend
 * @subpackage  Template
 * @author      Chen Qiao <chen.qiao@evebit.com>
 * @version     $$Id: edit.phtml 620 2011-05-03 02:23:14Z ma.rongliang $$
 * @copyright   Copyright (c) 2011 Evebit Inc. China (http://www.evebit.com)
 */

$this->placeholder('page_class')->append('page_edit_profile');


$inputs	=	array();
if($this->user->getId() > 0){
	$inputs =array('id'=>array('type'=>'hidden'));
}
?>
<div id="innner-form">
<?php 
$this->user->unsetData('password');
echo $this->action(
		'render', 'block', 'blocks',
		array(
			'template'=>'form',
			'form'=>'adminEditor',			
			'label'=>$this->title,
			'return_url'=>$this->baseUrl('user/index'),
			'post_url'=>$this->baseUrl('user/index/save-edit'),
		    'customer'=>"class='userfrom'",
			'data'=>$this->user->getData(),
			'inputs'=>$inputs,
			'fieldsets'=>array(
				array(
					'label'=>$this->__('General Information'),
					'inputs'=>$this->fieldsets,
				),
			)
			
		));
?>
<div class="c"></div>
</div>